package cn.raven.serve.service;

import cn.raven.pet.domain.PetDetail;
import cn.raven.serve.domain.Product;
import cn.raven.basic.service.IBaseService;
import cn.raven.serve.domain.ProductDetail;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Raven
 * @since 2022-07-21
 */
public interface IProductService extends IBaseService<Product> {

    ProductDetail findByPetId(Long id);

    void onsale(List<Long> ids);

    void offsale(List<Long> ids);

}
